package org.jeecg.modules.storage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 包材入库单物料
 * @Author: jeecg-boot
 * @Date:   2024-08-05
 * @Version: V1.0
 */
@ApiModel(value="package_storage_material对象", description="包材入库单物料")
@Data
@TableName("package_storage_material")
public class PackageStorageMaterial implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**排产单号*/
	@Excel(name = "排产单号", width = 15)
    @ApiModelProperty(value = "排产单号")
    private String schedulingCode;
	/**包材id*/
	@Excel(name = "包材id", width = 15)
    @ApiModelProperty(value = "包材id")
    private String materialId;
	/**供应商要求名字*/
	@Excel(name = "供应商要求名字", width = 15)
    @ApiModelProperty(value = "供应商要求名字")
    private String materialSupplierName;
	/**库位*/
	@Excel(name = "库位", width = 15)
    @ApiModelProperty(value = "库位")
    private String erpLocationId;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private java.math.BigDecimal num;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**生产日期*/
	@Excel(name = "生产日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "生产日期")
    private Date manufactureDate;
	/**限用日期*/
	@Excel(name = "限用日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "限用日期")
    private Date expiryDate;
	/**主表id*/
    @ApiModelProperty(value = "主表id")
    private String packageStorageId;

    @ApiModelProperty(value = "行项目")
    private String rowNum;

    @ApiModelProperty(value = "质检状态")
    private String qcStatus;

    @ApiModelProperty(value = "仓库编号")
    private String erpLocationCode;

    @ApiModelProperty(value = "采购订单编号")
    private String procurementCode;

    @ApiModelProperty(value = "采购订单明细")
    private String procurementDetailId;

    @ApiModelProperty(value = "仓库编码")
    private String erpWarehouseCode;
}
